<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<jsp:useBean id="now" class="java.util.Date" /> 
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
<link rel="stylesheet" type="text/css" href="login/css/style.css" />
<link rel="stylesheet" type="text/css" href="login/css/theme1.css" />
<script type="text/javascript" src="login/scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="login/scripts/common.js"></script>
<script type="text/javascript" src="login/scripts/WebCalendar.js"></script>
<script type="text/javascript" src="login/scripts/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="login/scripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="login/scripts/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript">
	$(function() {
		$("#tab_1").hide();
		$("#tab_2").hide();
		$("#tab_3").hide();
		$("#tab_1").show();
	});
	function showThis(panel) {
		$("#tab_" + panel).siblings().hide();
		$("#usual1").find("a").removeClass("selected");
		$("#tab_" + panel).fadeIn(500);
		$("#t_" + panel).addClass("selected");
	}
	$(document).ready(function() {
		$("a[rel=example_group]").fancybox({
			'showCloseButton'	: false,
			'titlePosition' 	: 'inside',
			'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
				return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
			}
		});
	});
	function uploadWindow(){
		var message = "灾情图片上传";
		var win ="resources/disasterUpload/"+ window.showModalDialog("login/upload.jsp",message,"dialogWidth=325px;dialogHeight=150px;center=yes;status=no");
		if(win!=null){
			var picString = '<div id="picDiv'+($("input[name='picCheck']:checked").size())+'" style="width:110px;border:1px solid #eeeeee;float: left"><a rel="example_group" href="'+win+'"><img alt="'+win+'" src="'+win+'" width="105px" height="80px"></img></a><input name="picCheck" value="'+win+'" type="checkbox"/></div>';
			$("#pictures").append(picString);  
			if($("#picValue").val()==""){
				$("#picValue").val(win);
			}else{
				$("#picValue").val($("#picValue").val()+","+win);
			}
		}else{
			alert("上传失败");
		}
	}
	function test(){
		if($("input[name='picCheck']:checked").size()==0){
			alert("请选择要删除的图片！");
			return;
		}
		$("input[name='picCheck']:checked").each(function(i){
			var a = $("#picValue").val();
			var b = a.replace($(this).val(),"");
			$("#picValue").val(b);
			//$("#picDiv"+i).remove();
		});
		$("input[name='picCheck']:checked").parent().remove();
	}
		
</script>
<style type="text/css">
td {
	border: none;
	font-size: 12px;
}

.reportList_float {
	width: 900px;
	background-color: #F3F9FF;
	border: 1px solid #7E9DCC;
	filter: alpha(opacity =   80);
	margin-left: 10px;
	margin-top: 10px;
}
</style>
</head>
<body>
<div id="wrapper" style="margin-top: 10px;">
	<div id="content">
		<div id="box">
			<h3 id="adduser"> 
				当前位置&nbsp;:&nbsp;灾情数据管理&nbsp;&gt;&gt;&nbsp;灾情上报&nbsp;&gt;&gt;&nbsp;添加灾情上报 
			</h3>
			<c:if test="${not empty reportList}">
				<div class="reportList_float" id="reportDiv">
					<table width="100%" cellspacing="3" cellpadding="0">
						<c:forEach items="${reportList}" var="usrReport"
							varStatus="status">
							<tr>
								<td width="60">
									序号：
								</td>
								<td width="100">
									${status.index+1}
								</td>
								<td width="60">
									上报人：
						    </td>
								<td width="100">
									${usrReport.reMan }
								</td>
								<td width="60">
									类型：
							  </td>
								<td width="100">
									${usrReport.reType }
								</td>
								<td width="60">
									时间:
							  </td>
								<td>
									${usrReport.reTime }
								</td>
								<td width="60">
									地点：
								</td>
								<td width="100">
									${usrReport.reArea }
								</td>
							</tr>
							<tr>
								<td style="border-bottom: 1px dashed #ccc;">
									情况：
								</td>
								<td colspan="9" style="border-bottom: 1px dashed #ccc;">
									${usrReport.reStu }
								</td>
							</tr>
						</c:forEach>
					</table>
				</div>
			</c:if>
			<form id="form" action="disasterAction!${actionName }.action" method="post">
				上报类型:&nbsp;&nbsp;&nbsp;
				<%--<input type="radio" name="disasterUpload.infosources" value="月报" <c:if test="${disasterUpload.infosources == '月报'}">checked="checked"</c:if>/>月报&nbsp;&nbsp;--%>&nbsp;&nbsp;
				<input type="radio" name="disasterUpload.infosources" value="直报" <c:if test="${disasterUpload.infosources == '直报'or disasterUpload.infosources == null  }">checked="checked"</c:if>/>直报<br/><br/>
				<div id="usual1" class="usual">
					<ul>
						<li>
							<a id="t_1" class="selected" href="javascript:showThis(1);">基本信息</a>
						</li>
						<li>
							<a id="t_2" class="" href="javascript:showThis(2);">农林牧渔业影响</a>
						</li>
						<li>
							<a id="t_3" class="" href="javascript:showThis(3);">其他损失及影响</a>
						</li>
					</ul>
					<div class="tab">
						<div>
							<div id="tab_1">
								<fieldset id="">
									<legend>
										单位信息
									</legend>
									<table width="840" border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td>
												站号:
											</td>
											<td>
												<s:textfield name="disasterUpload.stationid" theme="simple"></s:textfield>
											</td>
											<td>
												省:
											</td>
											<td>
												<!--<s:textfield name="disasterUpload.province" theme="simple"></s:textfield>-->
												<s:textfield name="disasterUpload.province" theme="simple" value="广东省"></s:textfield>
											</td>
											<td>
												城市:
											</td>
											<td>
												<!--<s:textfield name="disasterUpload.city" theme="simple"></s:textfield>-->
												<s:textfield name="disasterUpload.city" theme="simple" value="中山市"></s:textfield>
											</td>
											<td>
												县:
											</td>
											<td>
												<s:textfield name="disasterUpload.stationname" theme="simple"></s:textfield>
											</td>
										</tr>
										<tr>
											<td>
												报告人:
											</td>
											<td>
												<select name="disasterUpload.reporter">
													<c:forEach items="${qfrs}" var="qfr">
													<option <c:if test="${disasterUpload.underwriter == qfr.qrName}">selected</c:if>>${qfr.qrName }</option>
													</c:forEach>
												</select>
											</td>
											<td>
												签发人:
											</td>
											<td>
												<select name="disasterUpload.underwriter">
													<c:forEach items="${qfrs}" var="qfr">
													<option <c:if test="${disasterUpload.underwriter == qfr.qrName}">selected</c:if>>${qfr.qrName }</option>
													</c:forEach>
												</select>
											</td>
											<td>
												联系电话:
											</td>
											<td>
												<input name="disasterUpload.telephone" value="${disasterUpload.telephone }" type="text" tabindex="1" />
											</td>
											<td>&nbsp;
												


											</td>
											<td>&nbsp;
												


											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="">
									<legend>
										气象灾情概况
									</legend>
									<table width="840" border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="80">
												灾情类别:
											</td>
											<td>
												<select name="disasterUpload.distypename">
													<c:forEach items="${dstypes}" var="dstype">
													<option <c:if test="${disasterUpload.distypename == dstype.dtName}">selected</c:if>>${dstype.dtName }</option>
													</c:forEach>
												</select>
											</td>
											<td width="60">
												发生地:
											</td>
											<td>
												<input value="中山市" />
											</td>
											<td width="100">
												经度:
											</td>
											<td>
												<input name="disasterUpload.plongitude" value="${disasterUpload.plongitude }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')" />
											</td>
											<td width="100">
												纬度:
											</td>
											<td>
												<input name="disasterUpload.platitude" value="${disasterUpload.platitude }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')" />
											</td>
										</tr>
										<tr>
											<td>
												开始时间:
											</td>
											<td>
												<c:if test="${disasterUpload.starttime==null}">
												<input name="disasterUpload.starttime"  value="<fmt:formatDate value="${now}" pattern="yyyy-MM-dd HH:mm:ss"/>" type="text" tabindex="1" onclick="SelectDate(this,'yyyy-MM-dd hh:mm:ss')" readonly="readonly" />
												</c:if>
												<c:if test="${disasterUpload.starttime!=null}">
												<input name="disasterUpload.starttime"  value="${disasterUpload.starttime }" type="text" tabindex="1"  onclick="SelectDate(this,'yyyy-MM-dd hh:mm:ss')" readonly="readonly"/>
												</c:if>
											</td>
											<td>
												结束时间:
											</td>
											<td>
												<input name="endtime" value="${disasterUpload.endtime }" type="text" tabindex="1"  onclick="SelectDate(this,'yyyy-MM-dd hh:mm:ss')" readonly="readonly"/>
											</td>
											<td>
												未结束:
											</td>
											<td>
												<input name="disasterUpload.change" type="checkbox" value="1" <c:if test="${disasterUpload.change == 1}">checked="checked"</c:if> tabindex="1" />
											</td>
											<td>
												经济总损失(万元):
											</td>
											<td>
												<input name="disasterUpload.economyloss" value="${disasterUpload.economyloss }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"
												/>
											</td>
										</tr>
										<tr>
											<td>
												受灾总人数:
											</td>
											<td>
												<input name="disasterUpload.hitsbydisqt" value="${disasterUpload.hitsbydisqt }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')" />
											</td>
											<td>
												死亡人数:
											</td>
											<td>
												<input name="disasterUpload.deadqt" value="${disasterUpload.deadqt }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')" />
											</td>
											<td>
												失踪人数:
											</td>
											<td>
												<input name="disasterUpload.missqt" value="${disasterUpload.missqt }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')" />
											</td>
											<td>
												受伤人数:
											</td>
											<td>
												<input name="disasterUpload.injuredqt" value="${disasterUpload.injuredqt }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
										</tr>
										<tr>
											<td>
												倒塌损坏房屋间数:
											</td>
											<td>
												<input name="disasterUpload.housecollapse" value="${disasterUpload.housecollapse }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
											<td>
												被困人数:
											</td>
											<td>
												<input name="disasterUpload.siegesqt" value="${disasterUpload.siegesqt }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
											<td>
												造成饮水困难数:
											</td>
											<td>
												<input name="disasterUpload.potwaterdiff" value="${disasterUpload.potwaterdiff }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
											<td>
												转移安置人数:
											</td>
											<td>
												<input name="disasterUpload.jynumber" value="${disasterUpload.jynumber }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
										</tr>
										<tr>
											<td colspan="6" align="left">
												天气过程概述:
											</td>
											<td>
												信息来源:
											</td>
											<td>
												<input name="disasterUpload.infosources" value="${disasterUpload.infosources }" type="text" tabindex="1" />
											</td>
										</tr>
										<tr>
											<td colspan="4">
												<textarea rows="8" cols="43" name="disasterUpload.gsummarize">${disasterUpload.gsummarize }</textarea>
											</td>
											<td align="right" valign="top">
												图片:
											</td>
											<td colspan="2" valign="top" rowspan="4">
												<div id="pictures" style="width:230px;height:300px;border:1px solid #dddddd;">
													<c:if test="${disasterUpload.pic!=null}">
														<c:forEach items="${fn:split(disasterUpload.pic,',')}" var="pic" varStatus="statu">
															<div id="picDiv${statu.index }" style="width:110px;border:1px solid #eeeeee;float: left">
																<a rel="example_group" href="${pic }">
																	<img alt="${pic }" src="${pic }" width="105px" height="80px"/>
																</a>
																<input name="picCheck" value="${pic }" type="checkbox"/></div>
														</c:forEach>
													</c:if>
												</div>
											</td>
											<td valign="top">
												<input id="picValue" type="hidden" name="disasterUpload.pic" value="${disasterUpload.pic }"/>
												<input type="button" value="添加图片" onclick="uploadWindow();">
												<input type="button" value="删除图片" onclick="test();">
											</td>
										</tr>
										<tr>
											<td colspan="8" align="left">
												灾害影响:
											</td>
										</tr>
										<tr>
											<td colspan="4">
												<textarea name="disasterUpload.disateraffect" cols="43" rows="8">${disasterUpload.disateraffect }</textarea>
											</td>
										</tr>
										<tr>
											<td colspan="8" align="left">
												预报服务
											</td>
										</tr>
										<tr>
											<td colspan="8">
												<textarea name="disasterUpload.forecastserve" rows="8"
													style="width: 700px;">${disasterUpload.forecastserve }</textarea>
											</td>
										</tr>
									</table>
								</fieldset>
							</div>
							<div id="tab_2">
								<fieldset id="fieldset">
									<legend>
										农业损失
									</legend>
									<table width="840" border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td>
												受灾作物名称:
											</td>
											<td colspan="5">
												<input name="disasterUpload.szzwname" value="${disasterUpload.szzwname }" type="text" tabindex="1"
													style="width: 500px" />
											</td>
											<td>
												直接经济损失(万元):
											</td>
											<td>
												<input name="disasterUpload.neconomyloss" value="${disasterUpload.neconomyloss }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
										</tr>
										<tr>
											<td width="100">
												受灾面积(公顷):
											</td>
											<td>
												<input name="disasterUpload.szarea" value="${disasterUpload.szarea }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="88">
												成灾面积(公顷):
											</td>
											<td>
												<input name="disasterUpload.czarea" value="${disasterUpload.czarea }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="88">
												绝收面积(公顷):
											</td>
											<td>
												<input name="disasterUpload.ssarea" value="${disasterUpload.ssarea }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="130">
												损失粮食(万斤):
											</td>
											<td>
												<input name="disasterUpload.foodstuflose" value="${disasterUpload.foodstuflose }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										林业损失
									</legend>
									<table width="840" border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="13%">
												树林损失数(万棵):
											</td>
											<td width="15%">
												<input name="disasterUpload.sllosenumber" value="${disasterUpload.sllosenumber }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="14%">
												直接经济损失(万元):
											</td>
											<td width="16%">
												<input name="disasterUpload.leconomyloss" value="${disasterUpload.leconomyloss }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="42%">&nbsp;
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										牧业损失
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td>
												牲畜损失数:
											</td>
											<td>
												<input name="disasterUpload.sslnumber" value="${disasterUpload.sslnumber }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>
												影响牧草名称:
											</td>
											<td>
												<input name="disasterUpload.yxmcname" value="${disasterUpload.yxmcname }" type="text" tabindex="1" />
											</td>
											<td>
												受灾牧草面积(公顷):
											</td>
											<td>
												<input name="disasterUpload.szmcarea" value="${disasterUpload.szmcarea }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>
												直接经济损失(万元):
											</td>
											<td>
												<input name="disasterUpload.meconomyloss" value="${disasterUpload.meconomyloss }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										渔业损失
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="75">
												翻(沉)船只数:
											</td>
											<td width="115">
												<input name="disasterUpload.sinkboatnumber" value="${disasterUpload.sinkboatnumber }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="85">
												翻(沉)船总吨位:
											</td>
											<td width="113">
												<input name="disasterUpload.sinkboatweight" value="${disasterUpload.sinkboatweight }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="111">
												直接经济损失(万元):
											</td>
											<td width="112">
												<input name="disasterUpload.yeconomyloss" value="${disasterUpload.yeconomyloss }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="189"></td>
											<td width="12"></td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										水利方面的影响
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td>&nbsp;
											</td>
											<td>&nbsp;
											</td>
											<td>
												水毁(大型)塘坝座数:
											</td>
											<td>
												<input name="disasterUpload.dponddamdestroy" value="${disasterUpload.dponddamdestroy }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
											<td>
												水毁(中型)塘坝座数:
											</td>
											<td>
												<input name="disasterUpload.zponddamdestroy" value="${disasterUpload.zponddamdestroy }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
											<td>
												水毁(小型)塘坝座数:
											</td>
											<td>
												<input name="disasterUpload.xponddamdestroy" value="${disasterUpload.xponddamdestroy }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
										</tr>
										<tr>
											<td>
												相关江河洪水流量:
											</td>
											<td>
												<input name="disasterUpload.floodflux" value="${disasterUpload.floodflux }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
											<td>
												洪峰水位:
											</td>
											<td>
												<input name="disasterUpload.floodheight" value="${disasterUpload.floodheight }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
											<td>
												洪水比较值:
											</td>
											<td>
												<input name="disasterUpload.floodcompare" value="${disasterUpload.floodcompare }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
											<td>
												洪峰水位比较值:
											</td>
											<td>
												<input name="disasterUpload.watercompare" value="${disasterUpload.watercompare }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/\D/g,'')"/>
											</td>
										</tr>
										<tr>
											<td valign="top">
												防洪提决口处(并标明地点)
											</td>
											<td colspan="7">
												<textarea name="disasterUpload.bankburstplace" rows="5"
													style="width: 600px;">${disasterUpload.bankburstplace }</textarea>
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										干旱影响
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td colspan="3" valign="top">
												因干旱引起的水利发电,工农业用水,人畜饮水困难等情况:
											</td>
										</tr>
										<tr>
											<td valign="top">
												<textarea name="disasterUpload.cpotwaterdiff" rows="5"
													style="width: 600px;">${disasterUpload.cpotwaterdiff }</textarea>
											</td>
											<td valign="bottom">
												直接经济损失(万元):
											</td>
											<td valign="bottom">
												<input name="disasterUpload.sleconomyloss" value="${disasterUpload.sleconomyloss }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
										</tr>
									</table>
								</fieldset>
							</div>
							<div id="tab_3">
								<fieldset id="fieldset">
									<legend>
										社会影响
									</legend>
									<table width="840" border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="70">
												疾病名称:
											</td>
											<td>
												<input name="disasterUpload.sickname" value="${disasterUpload.sickname }" type="text" tabindex="1" />
											</td>
											<td width="70">
												发病人数:
											</td>
											<td>
												<input name="disasterUpload.fbnumber" value="${disasterUpload.fbnumber }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="100">
												停课学校数(间):
											</td>
											<td>
												<input name="disasterUpload.dsnumber" value="${disasterUpload.dsnumber }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="70">
												道路堵塞:
											</td>
											<td>
												<input name="disasterUpload.roadstop" value="${disasterUpload.roadstop }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										通讯损失
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="120">
												通讯中断时间(小时):
											</td>
											<td width="120">
												<input name="disasterUpload.txtime" value="${disasterUpload.txtime }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="120">
												直接经济损失(万元):
											</td>
											<td width="120">
												<input name="disasterUpload.taxeconomyloss" value="${disasterUpload.taxeconomyloss }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>&nbsp;
												


											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										商业影响
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="80">
												停业商店数:
											</td>
											<td width="120">
												<input name="disasterUpload.shopstop" value="${disasterUpload.shopstop }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="120">
												直接经济损失(万元):
											</td>
											<td width="120">
												<input name="disasterUpload.seconomyloss" value="${disasterUpload.seconomyloss }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>&nbsp;
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										工业影响
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="90">
												停产工厂数(间):
											</td>
											<td width="120">
												<input name="disasterUpload.tgnumber" value="${disasterUpload.tgnumber }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="90">
												设备损失(台):
											</td>
											<td width="120">
												<input name="disasterUpload.sblose" value="${disasterUpload.sblose }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>&nbsp;
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										交通业损失
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="120">
												飞机航班延误次数:
											</td>
											<td width="120">
												<input name="disasterUpload.planedelaynumber" value="${disasterUpload.planedelaynumber }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="120">
												交通工具损毁数:
											</td>
											<td width="120">
												<input name="disasterUpload.fqvehicledestroy" value="${disasterUpload.fqvehicledestroy }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="140">
												汽车火车停运时间(小时):
											</td>
											<td width="120">
												<input name="disasterUpload.ghmorratime" value="${disasterUpload.ghmorratime }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>&nbsp;
											</td>
										</tr>
										<tr>
											<td width="120">
												运输翻(沉)船只数:
											</td>
											<td width="120">
												<input name="disasterUpload.sinkboatnumbrt" value="${disasterUpload.sinkboatnumbrt }" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="120">
												直接经济损失(万元):
											</td>
											<td width="120">
												<input name="disasterUpload.jeconomyloss" value="${disasterUpload.jeconomyloss}" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>&nbsp;
											</td>
											<td>&nbsp;
											</td>
											<td>&nbsp;
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										电力损失
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="120">
												倒杆根数:
											</td>
											<td width="120">
												<input name="disasterUpload.gpnumber" value="${disasterUpload.gpnumber}" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="120">
												断线长度(千米):
											</td>
											<td width="120">
												<input name="disasterUpload.dxlengyth" value="${disasterUpload.dxlengyth}" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="140">
												停电中断时间(小时):
											</td>
											<td width="120">
												<input name="disasterUpload.dstoptime" value="${disasterUpload.dstoptime}" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>&nbsp;
											</td>
										</tr>
										<tr>
											<td width="120">
												直接经济损失(万元):
											</td>
											<td width="120">
												<input name="disasterUpload.deconomyloss" value="${disasterUpload.deconomyloss}" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="120">&nbsp;
											</td>
											<td width="120">&nbsp;
											</td>
											<td>&nbsp;
											</td>
											<td>&nbsp;
											</td>
											<td>&nbsp;
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										基础设施损失
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="120">
												损坏桥梁涵洞数量:
											</td>
											<td width="120">
												<input name="disasterUpload.bcbreakstatus" value="${disasterUpload.bcbreakstatus}" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="140">
												铁路公路损坏长度(公里):
											</td>
											<td width="120">
												<input name="disasterUpload.tgbreaklengh" value="${disasterUpload.tgbreaklengh}" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td width="120">
												直接经济损失(万元):
											</td>
											<td width="120">
												<input name="disasterUpload.jcsseconomyloss" value="${disasterUpload.jcsseconomyloss}" type="text"
													tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>&nbsp;
											</td>
										</tr>
									</table>
								</fieldset>
								<fieldset id="fieldset">
									<legend>
										其他影响
									</legend>
									<table border="0" cellpadding="0" cellspacing="3"
										class=".tab_table">
										<tr>
											<td width="120">
												直接经济损失(万元):
											</td>
											<td width="120">
												<input name="disasterUpload.othereconomyloss" value="${disasterUpload.othereconomyloss }" type="text" tabindex="1" onkeyup="this.value=this.value.replace(/[^\d\.]+?/g,'')"/>
											</td>
											<td>&nbsp;
											</td>
										</tr>
										<tr>
											<td width="120" align="right" valign="top">
												其他影响:
											</td>
											<td colspan="2">
												<textarea name="disasterUpload.otherdestroy" rows="5" style="width: 600px;">${disasterUpload.otherdestroy }</textarea>
											</td>
										</tr>
									</table>
								</fieldset>
							</div>
						</div>
						<div align="center">
							<input type="hidden" name="disasterUpload.num" value="${disasterUpload.num }"/>
							<c:if test="${admin.role==1}">
							<input id="button4" type="submit" value="返回并发送" />
							</c:if>
							<input id="button5" type="button" value="取消" onclick="javascript:forBack();" />
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
</body>
</html>